package com.lj.back.manage.scaffold.common.enums;

import com.lj.back.manage.scaffold.common.response.Response;
import com.lj.back.manage.scaffold.common.util.EnumValid;

/**
 * 用户状态枚举
 * @author lv
 * @version 1.0.0
 */
public enum UserStatusEnum implements EnumValid, Response {
    /**
     * 正常状态
     */
    NORMAL("1","正常"),

    /**
     * 锁定状态
     */
    LOCK("2","锁定")
    ;

    private final String code;

    private final String message;

    UserStatusEnum(String code, String message){
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
